package 多线程.Runnable;

import 多线程.Dog;
//实现Runnable创建线程
public class MyThread implements Runnable {

    @Override
    public void run() {
        Dog d = new Dog("小黑");
        d.run();
    }
}
